package com.foo.designpattern.factory.abstractfactorypattern;

import junit.framework.TestCase;

/**
 * com.foo.designpattern.factory.abstractfactorypattern
 * Created with IntelliJ IDEA.
 * User: wangyuxi
 * DateTime: 2016/4/1721:39
 *
 * @desc
 */
public class AbstractFactoryPatternTestCase extends TestCase {

    public void testAbstractFactory() {
        IFactory factory = new Factory();
        factory.createProduct1().show();
        factory.createProduct2().show();
    }
}
